import Axios from './api'

export function getShopList() {
  return Axios({
    url: '/api/getWYLuser',
    method: 'GET',
  })
}

export function zqhLogin(params) {
  console.log(params)
  return Axios({
    url: '/api/login',
    method: 'POST',
    data:params
  })
}
export function zqhviplist() {
  return Axios({
    url: '/api/zqhviplist',
    method: 'GET',
  })
}
export function zqhgrade() {
  return Axios({
    url: '/api/zqhgrade',
    method: 'GET',
  })
}
export function zqhdivide() {
  return Axios({
    url: '/api/zqhdivide',
    method: 'GET',
  })
}
export function zqhgradeid(data) {
  return Axios({
    url: `/api/zqhgradeid/${data.id}`,
    method: 'PUT',
    data:data
  })
}
export function zqhgradepost(params) {
  return Axios({
    url: `/api/zqhgradepost`,
    method: 'POST',
    data:params
  })
}
export function zqhdivideadd(params) {
  return Axios({
    url: `/api/zqhdivideadd`,
    method: 'POST',
    data:params
  })
}
export function zqhdividedelete(data) {
  return Axios({
    url: `/api/zqhdividedelete/${data.id}`,
    method: 'DELETE'
  })
}
export function zqhkill() {
  return Axios({
    url: '/api/zqhkill',
    method: 'GET',
  })
}
export function zqhzqhkilladd(params) {
  return Axios({
    url: `/api/zqhzqhkilladd`,
    method: 'POST',
    data:params
  })
}
export function zqhkillid(data) {
  return Axios({
    url: `/api/zqhkillid/${data.id}`,
    method: 'PUT',
    data:data
  })
}
export function zqhkilldelete(data) {
  return Axios({
    url: `/api/zqhkilldelete/${data.id}`,
    method: 'DELETE'
  })
}
export function zqhkill2() {
  return Axios({
    url: '/api/zqhkill2',
    method: 'GET',
  })
}
export function zqhzqhkill2add(params) {
  return Axios({
    url: `/api/zqhzqhkill2add`,
    method: 'POST',
    data:params
  })
}
export function zqhkilldelete2(data) {
  return Axios({
    url: `/api/zqhkilldelete2/${data.id}`,
    method: 'DELETE'
  })
}
export function zqhkill2id(data) {
  return Axios({
    url: `/api/zqhkill2id/${data.id}`,
    method: 'PUT',
    data:data
  })
}
export function zqhkill3() {
  return Axios({
    url: '/api/zqhkill3',
    method: 'GET',
  })
}
export function zqhzqhkill3add(params) {
  return Axios({
    url: `/api/zqhzqhkill3add`,
    method: 'POST',
    data:params
  })
}
export function zqhkill3id(data) {
  return Axios({
    url: `/api/zqhkill3id/${data.id}`,
    method: 'PUT',
    data:data
  })
}
export function zqhkilldelete3(data) {
  return Axios({
    url: `/api/zqhkilldelete3/${data.id}`,
    method: 'DELETE'
  })
}
export function zqhkill4() {
  return Axios({
    url: '/api/zqhkill4',
    method: 'GET',
  })
}
export function zqhzqhkill4add(params) {
  return Axios({
    url: `/api/zqhzqhkill4add`,
    method: 'POST',
    data:params
  })
}
export function zqhkill4id(data) {
  return Axios({
    url: `/api/zqhkill4id/${data.id}`,
    method: 'PUT',
    data:data
  })
}
export function zqhkilldelete4(data) {
  return Axios({
    url: `/api/zqhkilldelete4/${data.id}`,
    method: 'DELETE'
  })
}